package entity

class Address {

    String city
    String street
    String number

    static constraints = {
          city: matches: /[a-z]{3,10}/
//        street size: 3..20, matches: '[a-z]', blank: true
//        number size: 1..5

    }

    static belongsTo = [person: Person]
}
